package uk.co.lunagroup.xmloperations;

import java.util.Vector;

import org.apache.poi.ss.usermodel.Row;
import org.w3c.dom.Document;
import org.w3c.dom.Element;

/**
 * class is holding parameters for BOM table
 * 
 * @author robert.kowalski
 * 
 */
public class BomConfig {

	private Document document;
	private Element childElement;
	private Element parentElement;
	private Vector<Row> dataSet;
	private String elementName;
	private int rowNr;
	private int columnNr;

	// constructor for BomConfig
	public BomConfig() {
		// set up default values
		this.columnNr = 0;
	}

	public Document getDocument() {
		return document;
	}

	public void setDocument(final Document document) {
		this.document = document;
	}

	public Element getChildElement() {
		return childElement;
	}

	public void setChildElement(final Element childElement) {
		this.childElement = childElement;
	}

	public Element getParentElement() {
		return parentElement;
	}

	public void setParentElement(final Element parentElement) {
		this.parentElement = parentElement;
	}

	public Vector<Row> getDataSet() {
		return dataSet;
	}

	public void setDataSet(final Vector<Row> dataSet) {
		this.dataSet = dataSet;
	}

	public String getElementName() {
		return elementName;
	}

	public void setElementName(final String elementName) {
		this.elementName = elementName;
	}

	public int getRowNr() {
		return rowNr;
	}

	public void setRowNr(final int rowNr) {
		this.rowNr = rowNr;
	}

	public int getColumnNr() {
		return columnNr;
	}

	public void setColumnNr(final int columnNr) {
		this.columnNr = columnNr;
	}

}
